package de.cube3d.blitwit.space 
{
	/**
	 * A spaceobject can cover more than a single cell in the grid of the GridSpace object.
	 * When we collect items, we iterate the lists of each grid and, of course, will
	 * see the same objects again if it was also included in another's cell list. So 
	 * in order to avoid duplicates, we need to flag the items. The easiest way (to me)
	 * seems to be to put the space object into a container and allow the container to be
	 * flagged thgough a counter variable so that a space object is in fact only listed 
	 * once.
	 */
	public class GridSpaceContainer 
	{
		internal var _obj:SpaceObject;
		internal var _marker:int = 0;
		public function GridSpaceContainer(obj:SpaceObject) 
		{
			_obj = obj;
		}
		
	}

}